#ifndef OBJECT_H
#define OBJECT_H

#include <QGraphicsItem>

class Object : public QGraphicsItem
{
public:
    int type;
    qreal x , y;
    qreal angle;
    qreal speed;

    void advance(int step)  = 0;
    virtual void paint(QPainter *painter, const QStyleOptionGraphicsItem *, QWidget *) = 0;
    int get_type();
    int get_angle();
    int get_x();
    int get_y();
    Object();

};

#endif // OBJECT_H
